Skip to main content
Version: Upcoming

StockAuctionSummary

V8 Message Definiton

These records represent current and recent trailing market open/close auction results

METADATA

AttributeValue
Topic2990-market-data-stock
MLink TokenClientLive
ProductSRLive
accessTypeSELECT

Table Definition

FieldTypeKeyDefault ValueComment
ticker_atenum - AssetTypePRI'None'
ticker_tsenum - TickerSrcPRI'None'
ticker_tkVARCHAR(12)PRI''
auctionTypeenum - StockAuctionTypePRI'None'
auctionPriceFLOAT0
auctionVolumeINT0
auctionDateDATE'1900-01-01'
auctionPrice1FLOAT0
auctionVolume1INT0
auctionDate1DATE'1900-01-01'
auctionPrice2FLOAT0
auctionVolume2INT0
auctionDate2DATE'1900-01-01'
auctionPrice3FLOAT0
auctionVolume3INT0
auctionDate3DATE'1900-01-01'
auctionPrice4FLOAT0
auctionVolume4INT0
auctionDate4DATE'1900-01-01'
auctionPrice5FLOAT0
auctionVolume5INT0
auctionDate5DATE'1900-01-01'
timestampDATETIME(6)'1900-01-01 00:00:00.000000'

PRIMARY KEY DEFINITION (Unique)

FieldSequence
ticker_tk1
ticker_at2
ticker_ts3
auctionType4

CREATE TABLE EXAMPLE QUERY

CREATE TABLE `SRLive`.`MsgStockAuctionSummary` (
`ticker_at` ENUM('None','EQT','IDX','BND','CUR','COM','FUT','SYN','WAR','FLX','MUT','SPD','MM','MF','COIN','TOKEN','ANY') NOT NULL DEFAULT 'None',
`ticker_ts` ENUM('None','SR','NMS','CME','ICE','CFE','CBOT','NYMEX','COMEX','RUT','CIDX','ARCA','NYSE','OTC','NSDQ','MFQS','MIAX','DJI','CUSIP','ISIN','BXE','EUX','ANY','CXE','DXE','NXAM','NXBR','NXLS','NXML','NXOS','NXP','EUREX','CEDX','ICEFE') NOT NULL DEFAULT 'None',
`ticker_tk` VARCHAR(12) NOT NULL DEFAULT '',
`auctionType` ENUM('None','Opening','Closing') NOT NULL DEFAULT 'None',
`auctionPrice` FLOAT NOT NULL DEFAULT 0,
`auctionVolume` INT NOT NULL DEFAULT 0,
`auctionDate` DATE NOT NULL DEFAULT '1900-01-01',
`auctionPrice1` FLOAT NOT NULL DEFAULT 0,
`auctionVolume1` INT NOT NULL DEFAULT 0,
`auctionDate1` DATE NOT NULL DEFAULT '1900-01-01',
`auctionPrice2` FLOAT NOT NULL DEFAULT 0,
`auctionVolume2` INT NOT NULL DEFAULT 0,
`auctionDate2` DATE NOT NULL DEFAULT '1900-01-01',
`auctionPrice3` FLOAT NOT NULL DEFAULT 0,
`auctionVolume3` INT NOT NULL DEFAULT 0,
`auctionDate3` DATE NOT NULL DEFAULT '1900-01-01',
`auctionPrice4` FLOAT NOT NULL DEFAULT 0,
`auctionVolume4` INT NOT NULL DEFAULT 0,
`auctionDate4` DATE NOT NULL DEFAULT '1900-01-01',
`auctionPrice5` FLOAT NOT NULL DEFAULT 0,
`auctionVolume5` INT NOT NULL DEFAULT 0,
`auctionDate5` DATE NOT NULL DEFAULT '1900-01-01',
`timestamp` DATETIME(6) NOT NULL DEFAULT '1900-01-01 00:00:00.000000',
PRIMARY KEY USING HASH (`ticker_tk`,`ticker_at`,`ticker_ts`,`auctionType`)
) ENGINE=SRSE DEFAULT CHARSET=LATIN1 COMMENT='These records represent current and recent trailing market open/close auction results';

SELECT TABLE EXAMPLE QUERY

SELECT
`ticker_at`,
`ticker_ts`,
`ticker_tk`,
`auctionType`,
`auctionPrice`,
`auctionVolume`,
`auctionDate`,
`auctionPrice1`,
`auctionVolume1`,
`auctionDate1`,
`auctionPrice2`,
`auctionVolume2`,
`auctionDate2`,
`auctionPrice3`,
`auctionVolume3`,
`auctionDate3`,
`auctionPrice4`,
`auctionVolume4`,
`auctionDate4`,
`auctionPrice5`,
`auctionVolume5`,
`auctionDate5`,
`timestamp`
FROM `SRLive`.`MsgStockAuctionSummary`
WHERE
/* Replace with a ENUM('None','EQT','IDX','BND','CUR','COM','FUT','SYN','WAR','FLX','MUT','SPD','MM','MF','COIN','TOKEN','ANY') */
`ticker_at` = 'None'
AND
/* Replace with a ENUM('None','SR','NMS','CME','ICE','CFE','CBOT','NYMEX','COMEX','RUT','CIDX','ARCA','NYSE','OTC','NSDQ','MFQS','MIAX','DJI','CUSIP','ISIN','BXE','EUX','ANY','CXE','DXE','NXAM','NXBR','NXLS','NXML','NXOS','NXP','EUREX','CEDX','ICEFE') */
`ticker_ts` = 'None'
AND
/* Replace with a VARCHAR(12) */
`ticker_tk` = 'Example_ticker_tk'
AND
/* Replace with a ENUM('None','Opening','Closing') */
`auctionType` = 'None';

Doc Columns Query

SELECT * FROM SRLive.doccolumns WHERE TABLE_NAME='StockAuctionSummary' ORDER BY ordinal_position ASC;